import request from '@/utils/request'

export function edit(data) {
  return request({
    url: 'ajax.subdevices/edit',
    method: 'post',
    data
  })
}

export function getsubset(params){
  return request({
    url:'ajax.subdevices/subset',
    method:'get',
    params
  })
}

export function savesubset(data){
  return request({
    url:'ajax.subdevices/subset',
    method:'post',
    data
  })
}